package com.example.mongo.Model.bean;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@Component
@Document("user")
public class User {
    @Id
    private String id;
    public String userName;
    public String userPassword;
    public int isVIP;
    public int userCoin;
    public String userPhone;
    public Date createDate;
    public long deadLine;

}
